package com.cyj.springbootservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cyj.springbootservice.api.entity.Aerial;
import com.cyj.springbootservice.api.vo.AerialVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021/10/7 14:02
 **/
@Mapper
public interface AerialMapper extends BaseMapper<Aerial> {


    /**
     * 航拍分页查询
     *
     * @param IPage
     * @param aerial
     * @return
     */
    List<AerialVO> findByPage(IPage<AerialVO> IPage, @Param("aerial") Aerial aerial);

    /**
     * 航拍分页查询
     *
     * @param IPage
     * @param aerial
     * @return
     */
    List<AerialVO> findByPage2(IPage<AerialVO> IPage, Aerial aerial);

}